<?php

// Composer: "fzaninotto/faker": "v1.3.0"
use Faker\Factory as Faker;

class BlogUserCategoryTableSeeder extends Seeder {

	public function run()
	{
		$faker = Faker::create();

		foreach(range(1, 10) as $index)
		{
			BlogUserCategory::create([
				'parent_id' => 0,
				'name' => $faker->name,
				'sort_order' => $faker->numberBetween($min = 1, $max = 9),
				'user_id' => $faker->numberBetween($min = 1, $max = 9)
			]);
		}
	}

}